
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-customerservice"></i>
                    <div class="name">customerservice</div>
                    <div class="fontclass">.icon-customerservice</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-people_fill"></i>
                    <div class="name">people_fill</div>
                    <div class="fontclass">.icon-people_fill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-check-circle"></i>
                    <div class="name">check-circle</div>
                    <div class="fontclass">.icon-check-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-CI"></i>
                    <div class="name">CI</div>
                    <div class="fontclass">.icon-CI</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Dollar"></i>
                    <div class="name">Dollar</div>
                    <div class="fontclass">.icon-Dollar</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-compass"></i>
                    <div class="name">compass</div>
                    <div class="fontclass">.icon-compass</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-close-circle"></i>
                    <div class="name">close-circle</div>
                    <div class="fontclass">.icon-close-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-frown"></i>
                    <div class="name">frown</div>
                    <div class="fontclass">.icon-frown</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-info-circle"></i>
                    <div class="name">info-circle</div>
                    <div class="fontclass">.icon-info-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-left-circle"></i>
                    <div class="name">left-circle</div>
                    <div class="fontclass">.icon-left-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-down-circle"></i>
                    <div class="name">down-circle</div>
                    <div class="fontclass">.icon-down-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-EURO"></i>
                    <div class="name">EURO</div>
                    <div class="fontclass">.icon-EURO</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-copyright"></i>
                    <div class="name">copyright</div>
                    <div class="fontclass">.icon-copyright</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-minus-circle"></i>
                    <div class="name">minus-circle</div>
                    <div class="fontclass">.icon-minus-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-meh"></i>
                    <div class="name">meh</div>
                    <div class="fontclass">.icon-meh</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-plus-circle"></i>
                    <div class="name">plus-circle</div>
                    <div class="fontclass">.icon-plus-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-play-circle"></i>
                    <div class="name">play-circle</div>
                    <div class="fontclass">.icon-play-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-question-circle"></i>
                    <div class="name">question-circle</div>
                    <div class="fontclass">.icon-question-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Pound"></i>
                    <div class="name">Pound</div>
                    <div class="fontclass">.icon-Pound</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-right-circle"></i>
                    <div class="name">right-circle</div>
                    <div class="fontclass">.icon-right-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-smile"></i>
                    <div class="name">smile</div>
                    <div class="fontclass">.icon-smile</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-trademark"></i>
                    <div class="name">trademark</div>
                    <div class="fontclass">.icon-trademark</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-time-circle"></i>
                    <div class="name">time-circle</div>
                    <div class="fontclass">.icon-time-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-timeout"></i>
                    <div class="name">time out</div>
                    <div class="fontclass">.icon-timeout</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-earth"></i>
                    <div class="name">earth</div>
                    <div class="fontclass">.icon-earth</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-YUAN"></i>
                    <div class="name">YUAN</div>
                    <div class="fontclass">.icon-YUAN</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-up-circle"></i>
                    <div class="name">up-circle</div>
                    <div class="fontclass">.icon-up-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-warning-circle"></i>
                    <div class="name">warning-circle</div>
                    <div class="fontclass">.icon-warning-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-sync"></i>
                    <div class="name">sync</div>
                    <div class="fontclass">.icon-sync</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-transaction"></i>
                    <div class="name">transaction</div>
                    <div class="fontclass">.icon-transaction</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-undo"></i>
                    <div class="name">undo</div>
                    <div class="fontclass">.icon-undo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-redo"></i>
                    <div class="name">redo</div>
                    <div class="fontclass">.icon-redo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-reload"></i>
                    <div class="name">reload</div>
                    <div class="fontclass">.icon-reload</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-reloadtime"></i>
                    <div class="name">reload time</div>
                    <div class="fontclass">.icon-reloadtime</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-message"></i>
                    <div class="name">message</div>
                    <div class="fontclass">.icon-message</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dashboard"></i>
                    <div class="name">dashboard</div>
                    <div class="fontclass">.icon-dashboard</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-issuesclose"></i>
                    <div class="name">issues close</div>
                    <div class="fontclass">.icon-issuesclose</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-poweroff"></i>
                    <div class="name">poweroff</div>
                    <div class="fontclass">.icon-poweroff</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-logout"></i>
                    <div class="name">logout</div>
                    <div class="fontclass">.icon-logout</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-login"></i>
                    <div class="name">login</div>
                    <div class="fontclass">.icon-login</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-piechart"></i>
                    <div class="name">pie chart</div>
                    <div class="fontclass">.icon-piechart</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-setting"></i>
                    <div class="name">setting</div>
                    <div class="fontclass">.icon-setting</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-eye"></i>
                    <div class="name">eye</div>
                    <div class="fontclass">.icon-eye</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-location"></i>
                    <div class="name">location</div>
                    <div class="fontclass">.icon-location</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-edit-square"></i>
                    <div class="name">edit-square</div>
                    <div class="fontclass">.icon-edit-square</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-export"></i>
                    <div class="name">export</div>
                    <div class="fontclass">.icon-export</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-save"></i>
                    <div class="name">save</div>
                    <div class="fontclass">.icon-save</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Import"></i>
                    <div class="name">Import</div>
                    <div class="fontclass">.icon-Import</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-appstore"></i>
                    <div class="name">app store</div>
                    <div class="fontclass">.icon-appstore</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-close-square"></i>
                    <div class="name">close-square</div>
                    <div class="fontclass">.icon-close-square</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-down-square"></i>
                    <div class="name">down-square</div>
                    <div class="fontclass">.icon-down-square</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-layout"></i>
                    <div class="name">layout</div>
                    <div class="fontclass">.icon-layout</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-left-square"></i>
                    <div class="name">left-square</div>
                    <div class="fontclass">.icon-left-square</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-play-square"></i>
                    <div class="name">play-square</div>
                    <div class="fontclass">.icon-play-square</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-control"></i>
                    <div class="name">control</div>
                    <div class="fontclass">.icon-control</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-codelibrary"></i>
                    <div class="name">code library</div>
                    <div class="fontclass">.icon-codelibrary</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-detail"></i>
                    <div class="name">detail</div>
                    <div class="fontclass">.icon-detail</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-minus-square"></i>
                    <div class="name">minus-square</div>
                    <div class="fontclass">.icon-minus-square</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-plus-square"></i>
                    <div class="name">plus-square</div>
                    <div class="fontclass">.icon-plus-square</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-right-square"></i>
                    <div class="name">right-square</div>
                    <div class="fontclass">.icon-right-square</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-project"></i>
                    <div class="name">project</div>
                    <div class="fontclass">.icon-project</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wallet"></i>
                    <div class="name">wallet</div>
                    <div class="fontclass">.icon-wallet</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-up-square"></i>
                    <div class="name">up-square</div>
                    <div class="fontclass">.icon-up-square</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-calculator"></i>
                    <div class="name">calculator</div>
                    <div class="fontclass">.icon-calculator</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-interation"></i>
                    <div class="name">interation</div>
                    <div class="fontclass">.icon-interation</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-check-square"></i>
                    <div class="name">check-square</div>
                    <div class="fontclass">.icon-check-square</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-border"></i>
                    <div class="name">border</div>
                    <div class="fontclass">.icon-border</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-border-outer"></i>
                    <div class="name">border-outer</div>
                    <div class="fontclass">.icon-border-outer</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-border-top"></i>
                    <div class="name">border-top</div>
                    <div class="fontclass">.icon-border-top</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-border-bottom"></i>
                    <div class="name">border-bottom</div>
                    <div class="fontclass">.icon-border-bottom</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-border-left"></i>
                    <div class="name">border-left</div>
                    <div class="fontclass">.icon-border-left</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-border-right"></i>
                    <div class="name">border-right</div>
                    <div class="fontclass">.icon-border-right</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-border-inner"></i>
                    <div class="name">border-inner</div>
                    <div class="fontclass">.icon-border-inner</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-border-verticle"></i>
                    <div class="name">border-verticle</div>
                    <div class="fontclass">.icon-border-verticle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-border-horizontal"></i>
                    <div class="name">border-horizontal</div>
                    <div class="fontclass">.icon-border-horizontal</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-user"></i>
                    <div class="name">user</div>
                    <div class="fontclass">.icon-user</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-phone"></i>
                    <div class="name">phone</div>
                    <div class="fontclass">.icon-phone</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-phone-fill"></i>
                    <div class="name">phone-fill</div>
                    <div class="fontclass">.icon-phone-fill</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
